Skip to content

[1.x] Support PSR-7 v2 along side v1#549

Open
WyriHaximus wants to merge 1 commit intoreactphp:1.xfrom
WyriHaximus-labs:1.x-psr-7-v2
Open

[1.x] Support PSR-7 v2 along side v1#549
WyriHaximus wants to merge 1 commit intoreactphp:1.xfrom
WyriHaximus-labs:1.x-psr-7-v2

Conversation

@WyriHaximus
Copy link
Copy Markdown
Member

This changeset introduces our PSR-7 v2 implementation alongside our PSR-7 v1 implementation and goes with v1 or v2 depending on which psr/http-message version is installed. This is admittedly not my best code, nor am I proud of it, but it gets the job done.

This relies on clue/reactphp-http-proxy#65 being merged first.

Implements #513 for react/http v1.

@WyriHaximus WyriHaximus added this to the v1.12.0 milestone Apr 24, 2026
@WyriHaximus WyriHaximus requested a review from clue April 24, 2026 08:05
@WyriHaximus WyriHaximus force-pushed the 1.x-psr-7-v2 branch 7 times, most recently from 41c0f04 to d199fd9 Compare April 24, 2026 09:37
This changeset introduces our PSR-7 v2 implementation alongside our PSR-7 v1 implementation and goes with v1 or v2 depending on which `psr/http-message` version is installed. This is admittedly not my best code, nor am I proud of it, but it gets the job done.

This relies on clue/reactphp-http-proxy#65 being merged first.

Implements reactphp#513 for `react/http` v1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant